# -*- coding: UTF-8 -*-
# @description : python
# @Author : zyl
# @Time : 2021/9/7 10:47
# @Remark: IP子网模型
from pydantic import constr

from model.public.base import MxBaseModel


class IpSubnetModel(MxBaseModel):
    """
    IP子网模型
    """
    label: constr(min_length=1, max_length=50)
    SubnetIp: str = 0
    SubnetMask: str = 0
